<!DOCTYPE html>
<!-- saved from url=(0026)/main -->
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>EasyPay-创建订单</title>
    <link rel="stylesheet" href="../css/main.css">

</head>
<body data-ext-version="3.1">
<div data-v-7e2550d6="" class="odm_extension image_downloader_wrapper"><!----></div>
<!--内容区域-->
<div id="app" class="container" style="margin-top: 55px;">
    <div class="row course-item-wrap">
        <div class="col-lg-12">
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane fade show active">
                    <div class="row">
                        <div class="col-lg-12"></div>
                    </div>
                    <div class="row course-block">
                        <div id="courseListBox" class="course_bdleft Mtp25">
                            <div class="course_stage_item">
                                <h2 index="1" id="ksd-title-position-1"
                                    class="ksd-title-position-h2"><span
                                        class="cro_icon1">1</span> <span>商品列表</span></h2>
                                <div class="path-course-r">
                                    <div class="row">

                                            <div class="col-lg-3 col-md-4 col-sm-6 animated fadeInUp delay-1s">
                                                <form  method="post" id="myForm" target="_blank">
                                                    <div class="course-item">
                                                    <div class="course-img "><a
                                                            href="http://www.qfedu.com/video/couresDetail.html?courseId=128&&subjectId=1"
                                                            target="_blank" title="商品1" class="course__img"><img
                                                            height="140" width="100%" src="../img/goods.png">
                                                        <span
                                                                class="num">1</span> <span class="stimer">￥0.01</span></a>
                                                    </div>
                                                    <div class="course-content"><h3 title="订单创建" class="course__title">
                                                        <a
                                                                href="/course/detail/1317503462556848129"
                                                                target="_blank" title="订单创建" class="course__img">订单创建</a>
                                                    </h3>
                                                        <p class="course__author">EasyPay</p>
                                                        <!-- <div class="course-price-wrap">
                                                            <span id="123" class="course__btn"><i
                                                                     class="iconfont iconshouye"></i>  支付宝支付</span></div>-->
                                                        <button type="button"
                                                                class="layui-btn layui-btn-normal layui-icon layui-icon-search layui-btn-radius layui-btn-sm"
                                                                id="alipay_id" onclick="submitForm()">订单创建
                                                        </button>
                                                    </div>

                                                </div>
                                                </form>
                                            </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../js/jquery-3.5.1.min.js"></script>
<script src="../libs/layui/layui.js"></script>
<script type="text/javascript">
    function submitForm() {
        var form = $('#myForm'); // 获取表单
        var formData = form.serialize(); // 序列化表单数据
        $.post("/order/create", function (formData){
           alert("创建成功");
        })

    }
</script>
</body>
</html>
